﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MWTWorkUnitMgmtTool.BusinessEntities;
using System.Data;

namespace MWTWorkUnitMgmtTool.DataAccess.TableGatewayRepository
{
    public interface ISpecialWorkunitRepository
    {
        IEnumerable<IDataRecord> GetAllSpecialWorkunits();
        IEnumerable<IDataRecord> GetSpecialWorkunitByCode(string workUnitCode); 
        int InsertSpecialWorkunit(string wuCode, string wuName, string type, string facility);
        int UpdateSpecialWorkunit(string wuCode, string wuName, string type, string facility);
        int DeleteSpecialWorkunit(string wuCode); 
    }
}
